import axios from "../utils/axios";
export let getpulllist = () =>{
    return (dispatch)=>{
        axios.get("/api/list").then(res=>{
            dispatch({
                type:"getpulllist",
                payload:res.data
            })
        })
    }
}
export let getfloorlist = ()=>{
    return (dispatch)=>{
        axios.get("/api/floorlist").then(res=>{
            dispatch({
                type:"getfloorlist",
                payload:res.data
            })
        })
    }
}